package com.sinosoft.hydra.um.services.component.dataCollect;

import java.util.Date;
import java.util.List;

/**
 * Created by lcb on 2016/7/15.
 */
public interface DataParser {

    public List<String> getTitles();

    public List<String> parse(List<String> cells, Date begin, Date end);

    public List<String> rendExcelData(List<String> cells);

    public List<String> rendLineData(List<String> cells);

    /**
     * 获取有效的数据列，时间的列值需要排第一个
     *
     * @return
     */
    public List<Integer> getLineDataCells(int total);

    public List<Integer> getExcelDataCells(int total);

    boolean valid(List<String> cells);
}
